//
//  MSwipesViewController.h
//  iPhoneDev01
//
//  Created by smu on 11-7-13.
//  Copyright 2011年 duk. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kMinimumGestureLength    25
#define kMaximumVariance         1
//是水平轻扫，垂直轻扫，或根本未检测到轻扫
typedef enum {
    kNoSwipe = 0,
    kHorizontalSwipe,
    kVerticalSwipe
} SwipeType;

@interface MSwipesViewController : UIViewController {
    UILabel *label;
    CGPoint gestureStartPoint;
}
@property (nonatomic, retain) IBOutlet UILabel *label;
@property CGPoint gestureStartPoint;
- (void)eraseText;
@end
